package com.yh.homestay.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import javax.persistence.Id;
import java.io.Serializable;
import java.text.DateFormat;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName UserStaff
 * @Description TODO
 * @Author GCL
 * @Date 2020/1/6 11:47
 */
@Repository
public class UserStaff implements Serializable {

    @Id
    private Integer staffId;

    private String staffName;

    private String staffPhone;

    private String staffHiredate;

    private Double staffSalary;

    private Double staffComm;

    private Integer staffMgr;

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(String staffPhone) {
        this.staffPhone = staffPhone;
    }

    public String getStaffHiredate() {
        return staffHiredate;
    }

    public void setStaffHiredate(String  staffHiredate) {
        this.staffHiredate = staffHiredate;
    }

    public Double getStaffSalary() {
        return staffSalary;
    }

    public void setStaffSalary(Double staffSalary) {
        this.staffSalary = staffSalary;
    }

    public Double getStaffComm() {
        return staffComm;
    }

    public void setStaffComm(Double staffComm) {
        this.staffComm = staffComm;
    }

    public Integer getStaffMgr() {
        return staffMgr;
    }

    public void setStaffMgr(Integer staffMgr) {
        this.staffMgr = staffMgr;
    }

    @Override
    public String toString() {
        return "UserStaff{" +
                "staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                ", staffPhone='" + staffPhone + '\'' +
                ", staffHiredate=" + staffHiredate +
                ", staffSalary=" + staffSalary +
                ", staffComm=" + staffComm +
                ", staffMgr=" + staffMgr +
                '}';
    }
}